<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>vue自定义指令</title>
</head>
<body>
<input type="text" placeholder="请输入..."/>
<div id="#app">

</div>
<script src="vue.js"></script>
<script>
    new Vue({
        el:'#app'
    })
    Vue.component('A')
</script>
</body>
</html>